﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Header
{
	/// <summary>
	/// Defines methods to authenticate user
	/// </summary>
	[ServiceContract]
	public interface ILogin
	{
		/// <summary>
		/// Login user
		/// </summary>
		/// <param name="username">username of the user</param>
		/// <param name="password">password of the user</param>
		[OperationContract]
		void Login(string username, string password);

		/// <summary>
		/// Logout
		/// </summary>
		[OperationContract]
		void Logout();
	}
}
